import { Component, OnInit } from "@angular/core";
import { ActivatedRoute } from "@angular/router";

@Component({
  selector: "form-preview",
  templateUrl: "./form-preview.component.html",
  styleUrls: ["./form-preview.component.scss"]
})
export class FormPreviewComponent implements OnInit {
  id: any;
  constructor(private route: ActivatedRoute) {
    this.route.queryParams.subscribe(res => {
      this.id = res.id;
    });
  }

  ngOnInit() {}
}
